package com.test;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

/**
 * Created by jl on 2016/6/30.
 */

@WebService(endpointInterface = "com.test.SayHello")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class SayHelloImpl implements SayHello {

    @Override
    public void say() {
        System.out.println("hello...");
    }

    @Override
    public void sayFrom(String name) {
        System.out.println("hello, I am " + name);
    }
}
